package lion.test.cms.interceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import lion.framework.core.web.request.RequestHandler;
import lion.framework.core.web.request.RequestInterceptor;

public class Interceptor1 implements RequestInterceptor {

	@Override
	public void intercept(HttpServletRequest request, HttpServletResponse response, RequestHandler handler) throws Exception {

		System.out.println("interceptor 1");
		System.out.println(request.getSession().getId());
		handler.handle(request, response);
		System.out.println("###interceptor 1");

	}
}
